import mitt from 'mitt'

type Events = {
  'avatar-updated': string
  'background-updated': string
  'login-success': string
}

export const eventBus = mitt<Events>()
